package com.example.mybatis.my.shop.service;

import com.example.mybatis.my.shop.entity.TbUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TbUserService {

    TbUser selectByEmail(String email);

    List<TbUser> selectTbUsers();

    int insertUser(TbUser user);

    Boolean deleteById(Long id);

    TbUser findById(Long id);

    int updateUser(TbUser user);

    List<TbUser> searchByTbUser(Map<String,String> map);

    int deleteAllById(String[] ids);
}
